python3.7 cogan.py